package com.systop.asset.service;

import com.systop.asset.entity.Material;
import com.systop.asset.entity.vo.MaterialListVo;

import java.util.List;

public interface IMaterialService {
    public int addMaterial(Material material);
    public int delMaterial(int id);
    public int editorMaterial(Material material);
    public List<MaterialListVo> materialList(MaterialListVo vo);

    /**
     * 根据id查询耗材详情
     * @param id 耗材id
     * @param wid 仓库id
     * @return
     */
    public Material getMaterialById(Long id,Long wid);

    /**
     * 快速入库
     * @param material
     * @return
     */
    public int quickWarehouseInbound(Material material);
}
